import request from '@/utils/request';

/**
 * 贷款申请列表
 */
export async function getOrderList(params: any) {
  return request('/api/order/list', {
    method: 'GET',
    params
  });
}
// 角色添加
export async function addOrderApi(params: any) {
  return request('/api/order/add', {
    method: 'POST',
    data: params,
    requestType: 'form'
  });
}